
// <copyright file="FlushEventArgs.cs" company="Subhadra Software Solutions">
//   
// </copyright>
// <summary>
//   The flush event args.
// </summary>

namespace SubhadraSolutions.Sharp.Utils.Collections.Generic
{
    using System;
    using System.Collections.Generic;

    /// <summary>
    /// The flush event args.
    /// </summary>
    /// <typeparam name="T">
    /// </typeparam>
    public class FlushEventArgs<T> : EventArgs
    {
        #region Constructors and Finalizers

        /// <summary>
        /// Initializes a new instance of the <see cref="FlushEventArgs{T}"/> class.
        /// </summary>
        /// <param name="items">
        /// The items.
        /// </param>
        public FlushEventArgs(ICollection<T> items)
        {
            this.Items = items;
        }

        #endregion Constructors and Finalizers

        #region Public Properties

        /// <summary>
        /// Gets the items.
        /// </summary>
        public ICollection<T> Items { get; private set; }

        #endregion Public Properties
    }
}